GTK_DEBUG_CONSTRAINTS = 1 << 15,
GTK_DEBUG_BUILDER_OBJECTS = 1 << 16,
GTK_DEBUG_A11Y = 1 << 17,
+ GTK_DEBUG_ICONFALLBACK = 1 << 18,
} GtkDebugFlags;
#ifdef G_ENABLE_DEBUG
/* Fall back to missing icon */
if (icon == NULL)
{
+ GTK_NOTE(ICONFALLBACK, {
+ char *s = g_strjoinv (", ", (char **)icon_names);
+ g_message ("No icon found for: %s", s);
+ g_free (s);
+ });
icon = icon_paintable_new ("image-missing", size, scale);
icon->filename = g_strdup (IMAGE_MISSING_RESOURCE_PATH);
icon->is_resource = TRUE;
{ "touchscreen", GTK_DEBUG_TOUCHSCREEN, "Pretend the pointer is a touchscreen" },
{ "snapshot", GTK_DEBUG_SNAPSHOT, "Generate debug render nodes" },
{ "accessibility", GTK_DEBUG_A11Y, "Information about accessibility state changes" },
+ { "iconfallback", GTK_DEBUG_ICONFALLBACK, "Information about icon fallback" },
};
/* This checks to see if the process is running suid or sgid